import request from '@/utils/request'

// 查询日志文件列表
export function listDeyuLogFile(query) {
  return request({
    url: '/deyu/deyuLogFile/list',
    method: 'get',
    params: query
  })
}

// 查询日志文件详细
export function getDeyuLogFile(id) {
  return request({
    url: '/deyu/deyuLogFile/' + id,
    method: 'get'
  })
}

// 新增日志文件
export function addDeyuLogFile(data) {
  return request({
    url: '/deyu/deyuLogFile',
    method: 'post',
    data: data
  })
}

// 修改日志文件
export function updateDeyuLogFile(data) {
  return request({
    url: '/deyu/deyuLogFile',
    method: 'put',
    data: data
  })
}

// 删除日志文件
export function delDeyuLogFile(id) {
  return request({
    url: '/deyu/deyuLogFile/' + id,
    method: 'delete'
  })
}

// 查询日志文件列表
export function detailDeyuLogFile(query) {
  return request({
    url: '/deyu/deyuLogFile/detail',
    method: 'get',
    params: query
  })
}
